// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently

#pragma once

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
#endif

#include "targetver.h"

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC Automation classes
#endif // _AFX_NO_OLE_SUPPORT

#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>                      // MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h>                     // MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>                     // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


#define UM_EXIT									(WM_USER+1)
#define UM_CONFIG								(UM_EXIT+1)
#define UM_SEARCH_WORKLIST_START				(UM_CONFIG+1)
#define UM_SEARCH_WORKLIST_STOP					(UM_SEARCH_WORKLIST_START+1)
#define UM_SEARCH_WORKLIST_TRY_CONNECT			(UM_SEARCH_WORKLIST_STOP+1)
#define UM_SEARCH_WORKLIST_FIND_ITEM			(UM_SEARCH_WORKLIST_TRY_CONNECT+1)
#define UM_SEARCH_WORKLIST_RESULT				(UM_SEARCH_WORKLIST_FIND_ITEM+1)
#define UM_EXAM									(UM_SEARCH_WORKLIST_RESULT+1)
#define UM_IMAGEVIEWER							(UM_EXAM+1)
#define UM_CHANGE_LAYOUT						(UM_IMAGEVIEWER+1)
#define UM_DELETE_READY							(UM_CHANGE_LAYOUT+1)
#define UM_EXPORT_READY							(UM_DELETE_READY+1)
#define UM_NEXT_SPLIT							(UM_EXPORT_READY+1)
#define UM_INSUFFICIENT_HDD						(UM_NEXT_SPLIT+1)
#define UM_GRAPH_INITIALIZED					(UM_INSUFFICIENT_HDD+1)
#define UM_IMAGE_LOAD_BEGIN						(UM_GRAPH_INITIALIZED+1)
#define UM_IMAGE_LOAD_END						(UM_IMAGE_LOAD_BEGIN+1)
#define UM_ADD_IMAGES							(UM_IMAGE_LOAD_END+1)
#define UM_RECORD_STOP							(UM_ADD_IMAGES+1)
#define UM_CONTEXTMENU							(UM_RECORD_STOP+1)
#define UM_DELETE_ALL							(UM_CONTEXTMENU+1)
#define UM_DELETE_SELECTED						(UM_DELETE_ALL+1)
#define UM_TRANSFER_ALL							(UM_DELETE_SELECTED+1)
#define UM_TRANSFER_SELECTED					(UM_TRANSFER_ALL+1)
#define UM_PLAY_CURRENT							(UM_TRANSFER_SELECTED+1)
#define UM_INVERT_SELECT						(UM_PLAY_CURRENT+1)
#define UM_TRANSFER_IMAGE						(UM_INVERT_SELECT+1)
#define UM_STORAGE_CONNECTION_END				(UM_TRANSFER_IMAGE+1)
#define UM_INIT_IMAGEVIEWER						(UM_STORAGE_CONNECTION_END+1)
#define UM_INIT_DEVICE							(UM_INIT_IMAGEVIEWER+1)
#define UM_INITWINDOW							(UM_INIT_DEVICE+1)
#define UM_SPLIT_MOVE							(UM_INITWINDOW+1)
#define UM_AUTO_TRANS							(UM_SPLIT_MOVE+1)
#define UM_GRAPH_NOTIFY							(UM_AUTO_TRANS+1)
#define UM_INITIALZE							(UM_GRAPH_NOTIFY+1)
#define UM_NEW_POS								(UM_INITIALZE+1)
#define UM_KILLL_TIMER							(UM_NEW_POS+1)
#define UM_CONNECTION_END						(UM_KILLL_TIMER+1)
#define UM_IMAGE_REMOVE							(UM_CONNECTION_END+1)
#define UM_IMAGE_GET_EXPORT_IMAGES				(UM_IMAGE_REMOVE+1)
#define UM_IMAGE_SELECT_ALL						(UM_IMAGE_GET_EXPORT_IMAGES+1)
#define UM_IMAGE_SELECT_INVERT					(UM_IMAGE_SELECT_ALL+1)
#define UM_IMAGE_DESELECT_ALL					(UM_IMAGE_SELECT_INVERT+1)
#define UM_IMAGE_DBLCLK							(UM_IMAGE_DESELECT_ALL+1)
#define UM_IMAGE_SELECT							(UM_IMAGE_DBLCLK+1)
#define UM_LIST_ERASE							(UM_IMAGE_SELECT+1)
#define UM_INIT_LIST_BEGIN						(UM_LIST_ERASE+1)
#define UM_INIT_LIST_END						(UM_INIT_LIST_BEGIN+1)
#define UM_INIT_LIST_PROGRESS					(UM_INIT_LIST_END+1)
#define UM_IMAGE2DCM							(UM_INIT_LIST_PROGRESS+1)
#define UM_IMG2DCM_CONVERT						(UM_IMAGE2DCM+1)
#define UM_END_CFIND_RESPONSE					(UM_IMG2DCM_CONVERT+1)
#define UM_END_CECHO_RESPONSE					(UM_END_CFIND_RESPONSE+1)
#define UM_MAKE_MTFRM_BEGIN						(UM_END_CECHO_RESPONSE+1)
#define UM_MAKE_MTFRM_END						(UM_MAKE_MTFRM_BEGIN+1)
#define UM_MAKE_MTFRM_SHOW						(UM_MAKE_MTFRM_END+1)
#define UM_MAKE_MTFRM_HIDE						(UM_MAKE_MTFRM_SHOW+1)
#define UM_APPLY_ROTATION						(UM_MAKE_MTFRM_HIDE+1)
#define UM_SET_TIMER							(UM_APPLY_ROTATION+1)
#define UM_CUSTOMIZE_HEADER						(UM_SET_TIMER+1)